<template>
<div>
  <div>
    <h4>职位描述</h4>
    <div>{{this.jobinfo.jobDescribe}}</div>
  </div>
  <div>
    <h4>公司介绍</h4>
    <div>{{this.jobinfo.introduce}}</div>
  </div>
</div>
</template>

<script>
import {requests} from "@/utils/request";

export default {
  name: "jobDetails",
  data(){
    return{
      jobinfo:{}
    }
  },
  mounted() {
    this.getDetail()
    console.log(this.$route.query.id)
  },
  methods:{
    getDetail(){
      requests.get("job/detail/"+this.$route.query.id).then(res=>{
        this.jobinfo=res.data.data
      })
    }
  }
}
</script>

<style scoped>

</style>